package cn.gzjp.modules.logis.entity;

import cn.gzjp.common.persistence.DataEntity;
import cn.gzjp.common.utils.excel.annotation.ExcelField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.hibernate.validator.constraints.Length;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 统一用户
 * @author zengcp
 * @version 2018-03-21
 */
public class LogisUserUnion extends DataEntity<LogisUserUnion> {

	private static final long serialVersionUID = 1L;
	private String headImg;		// 头像
	private String nickName;		// 昵称
	private String realName;
	private String mobile;		// 手机号
	private BigDecimal balance;//账户当前余额（可能是提现后剩余的）
	private BigDecimal incomeTotal;//收入总额(司机的获得的运费累积总额，工厂获得的奖励金总额，合伙人获得的佣金总额)
	private BigDecimal commissionTotal;//佣金（车主给合伙人累积挣得的钱）
	private int commissionRate;//合伙人佣金比例
	private int scoreTotal;//用户总积分
	private int creditTotal;//用户信用分
	private int jiaocheNum;//叫车下单次数
	private int shouhuoNum;//收货次数
	private int jiedanNum;//司机接单次数
	private int friendNum;//好友数量
	private int fleetNum;//车队数量

	public String getHeadImg() {
		return headImg;
	}

	public void setHeadImg(String headImg) {
		this.headImg = headImg;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public BigDecimal getBalance() {
		return balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

	public BigDecimal getIncomeTotal() {
		return incomeTotal;
	}

	public void setIncomeTotal(BigDecimal incomeTotal) {
		this.incomeTotal = incomeTotal;
	}

	public BigDecimal getCommissionTotal() {
		return commissionTotal;
	}

	public void setCommissionTotal(BigDecimal commissionTotal) {
		this.commissionTotal = commissionTotal;
	}

	public int getCommissionRate() {
		return commissionRate;
	}

	public void setCommissionRate(int commissionRate) {
		this.commissionRate = commissionRate;
	}

	public int getScoreTotal() {
		return scoreTotal;
	}

	public void setScoreTotal(int scoreTotal) {
		this.scoreTotal = scoreTotal;
	}

	public int getCreditTotal() {
		return creditTotal;
	}

	public void setCreditTotal(int creditTotal) {
		this.creditTotal = creditTotal;
	}

	public int getJiaocheNum() {
		return jiaocheNum;
	}

	public void setJiaocheNum(int jiaocheNum) {
		this.jiaocheNum = jiaocheNum;
	}

	public int getShouhuoNum() {
		return shouhuoNum;
	}

	public void setShouhuoNum(int shouhuoNum) {
		this.shouhuoNum = shouhuoNum;
	}

	public int getJiedanNum() {
		return jiedanNum;
	}

	public void setJiedanNum(int jiedanNum) {
		this.jiedanNum = jiedanNum;
	}

	public int getFriendNum() {
		return friendNum;
	}

	public void setFriendNum(int friendNum) {
		this.friendNum = friendNum;
	}

	public int getFleetNum() {
		return fleetNum;
	}

	public void setFleetNum(int fleetNum) {
		this.fleetNum = fleetNum;
	}
}